package com.j2203.mapper;

import com.j2203.entity.Comment;
import com.j2203.entity.Game;
import com.j2203.entity.GmUser;

import java.util.List;

public interface CommentMapper {
        //查询所有评论
        List<Comment> commentselect();
        //增加评论
        int commentadd(Comment comment);
        //删除评论
        int commentdel(int id);
        //点赞
        int commentuplike(Comment comment);
        //查询游戏详情
        Game gmbyid(int  gid);
        //查询用户详情
        GmUser userbyid(int uid);
}
